import http from '@/http'
import { CenterParm, SettingParm } from './CenterModel'
//获取个人中心数据
export const getListApi = (parm: CenterParm) => {
	return http.post('/api/address/getList', parm)
}
/**
 *
 * @param parm
 * @returns
 * 设置页面
 */
// 获取设置用户信息
export const getHomeDataApi = () => {
	return http.post('/api/organizer/getHomeData')
}
//编辑用户
export const editInfoApi = (param: SettingParm) => {
	return http.post('/api/organizer/editInfo', param)
}

//获取数据中心
export const getCenterDataApi = () => {
	return http.post('/api/organizer/getCenterData')
}